package com.dimeina.vo;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Michael
 * 商品详情表 对应 JavaBean
 */
public class Product implements Serializable {
	private static final long serialVersionUID = 1L;

	// 构造方法
	public Product() {
		super();
	}

	// 编号 主键
	private int id;
	// 商品名称
	private String name;
	// 商品顶级分类 = 商品分类表一级分类id
	private int topCategoryID;
	// 商品父级ID
	private int PCategoryID;
	// 商品种类 = 商品分类表id
	private int categoryID;
	// 商品价格
	private double price;
	// 商品规格
	private int capacity;
	// 商品描述
	private String description;
	// 商品成分
	private String ingredient;
	// 商品评价
	private int value;
	// 商品库存
	private int inventory;
	// 商品内容
	private String content;
	// 创建时间
	private Timestamp createDate;
	// 修改时间
	private Timestamp modifyDate;
	
	
	// 获取属性
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getTopCategoryID() {
		return topCategoryID;
	}
	public void setTopCategoryID(int topCategoryID) {
		this.topCategoryID = topCategoryID;
	}
	public int getCategoryID() {
		return categoryID;
	}
	public void setCategoryID(int categoryID) {
		this.categoryID = categoryID;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getCapacity() {
		return capacity;
	}
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getIngredient() {
		return ingredient;
	}
	public void setIngredient(String ingredient) {
		this.ingredient = ingredient;
	}
	public int getValue() {
		return value;
	}
	public void setValue(int value) {
		this.value = value;
	}
	public int getInventory() {
		return inventory;
	}
	public void setInventory(int inventory) {
		this.inventory = inventory;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Timestamp getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	public Timestamp getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}
	public int getPCategoryID() {
		return PCategoryID;
	}
	public void setPCategoryID(int pCategoryID) {
		PCategoryID = pCategoryID;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
	
	
}
